﻿#pragma once


// DensitySlicing 对话框
class CanopyClustering;
class DensitySlicingAttributeDialog;

class DensitySlicing : public CDialogEx
{
	DECLARE_DYNAMIC(DensitySlicing)

public:
	DensitySlicing(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~DensitySlicing();

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_DIALOG_DensitySlicing };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnOpenAttributeDialog();
	afx_msg void OnOpenFile();

	afx_msg void OnPaint();
//	afx_msg void OnNcMouseMove(UINT nHitTest, CPoint point);
	afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	virtual BOOL PreTranslateMessage(MSG* pMsg);

	CDC *pDC;
	HDC pHDC;
	int dx;
	int dy;
	CanopyClustering * CanopyCluster;
	DensitySlicingAttributeDialog *dlg;
	afx_msg void OnCanopyclu();
	afx_msg void OnDensitydlg();
	afx_msg void OnAsd();
	afx_msg void OnJihejiaozheng();
	BOOL Ismove;
	BOOL bButtonDown;
	CPoint TempPoint;
	CPoint MovePoint;
	virtual BOOL OnInitDialog();
	afx_msg void On32779();
};
#include "CanopyClustering.h"
#include "SpectrumDlg.h"
#include "CBandListDlg.h"
#include "DensitySlicingAttributeDialog.h"